package com.nari.ncps.screen.dto.excelimport.coal;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 生产经营煤炭运输情况表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Data
@TableName("qt_dp_coal_prodoper_transport")
@Schema(name = "CoalProdoperTransport对象", description = "生产经营煤炭运输情况表")
public class CoalProdoperTransport implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年")
    @Excel(name = "年", orderNum = "0")
    @TableField("year")
    private Integer year;

    @Schema(description = "月")
    @Excel(name = "月", orderNum = "1")
    @TableField("month")
    private Integer month;

    @Schema(description = "年月日期")
    @Excel(name = "年月日期", orderNum = "2", format = "yyyy-MM")
    @TableField("year_month_date")
    private Date yearMonthDate;

    @Schema(description = "运输类型：0：汽运，1：皮带，2：铁运")
    @Excel(name = "运输类型", orderNum = "3")
    @TableField("transport_type")
    private Boolean transportType;

    @Schema(description = "运输量(吨)")
    @Excel(name = "运输量", orderNum = "4")
    @TableField("transport_volume")
    private BigDecimal transportVolume;

    @Schema(description = "单位名称")
    @Excel(name = "单位名称", orderNum = "5")
    @TableField("unit_name")
    private String unitName;

    @Schema(description = "单位编码")
    @Excel(name = "单位编码", orderNum = "6")
    @TableField("unit_code")
    private String unitCode;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
